﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QYS.aspx.cs" Inherits="GPCSC.Web.CM.QYS" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="NickLee.Web.UI" Namespace="NickLee.Web.UI" TagPrefix="NickLee" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <title>淮安市领导干部下基层活动网站</title>
<meta name="KEYWords" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
<meta name="DEscription" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
            <link type="text/css" rel="Stylesheet" href="../Css/textareaCss.css" />
    <link type="text/css" rel="Stylesheet" href="../Css/newtab.css" />
   <%-- <link type="text/css" rel="Stylesheet" href="../styles/baseStyle.css" />--%>
      <script type="text/javascript" src="../scripts/jquery-1.6.2.min.js"></script>
     <script type="text/javascript" src="../scripts/textarearesizer/jquery-latest.js"></script>
     <script type="text/javascript" src="../scripts/textarearesizer/jquery.textarearesizer.compressed.js"></script>

     <script type ="text/javascript" src ="../scripts/datepicker/WdatePicker.js"></script>

         <script type="text/javascript" src="../Scripts/ComAjax.js"></script>
    <link type="text/css" rel="Stylesheet" href="../Css/test.css" /> 

      <link href="../Css/main.css" rel="stylesheet" type="text/css" />

          <script type="text/javascript" src="../Scripts/validator/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../Scripts/validator/messages_cn.js"></script>
     <style> 
.menu
{
    background: none repeat scroll 0 0 #FFFFFF;
    border-bottom: 3px solid #49A2D7;
    font-size: 14px;
    height: 26px;
    left: 0;
    line-height: 26px;


    width:100%;

    text-align:left;
    
}
.menu ul
{
margin-top: 3px;


    text-align:left;
}	
ul ,li
{

	   list-style: none outside none;
    text-align: left;

}
.menu ul li
{
	background: url("../Images/btn_bg.png") no-repeat scroll -1px -289px transparent;
    cursor: pointer;
    float: left;
    font-size: 14px;
    height: 30px;
    line-height: 26px;
    text-align: center;
    width: 87px;
    margin-left: 3px;

}
  .style12
        {
            border: 1px solid #C1DAD7;
            background: #F9F0F0;
            font-size: 12px;
            text-align: center;
            vertical-align: middle;
            color: #0161a1;
            text-align: center;
            font-style: normal;
            font-variant: normal;
            font-weight: normal;
            line-height: normal;
            font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
            width: 109px;
        }
.menu ul li a
{
	    color: #000000;
    display: block;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    width: 87px;
}
.menu ul  .on
{
   background: url("../Images/btn_bg.png") no-repeat scroll -92px -289px transparent;
    font-weight: 700;
    height: 30px;
    line-height: 30px;
    width: 87px;
	
	
}
.menu ul  .on a
{
	    color: #ffffff;
}
.trCss
{
    display:none;
}
.trCss1
{
    display:none;
 }
 .trCss2
{
    display:block;
 }
 .fontCss
 {
     font:  11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
color: #0161a1; 
cursor:pointer;
 }
 

</style>
     <script>
         $(document).ready(function () {

             $('textarea.resizable:not(.processed)').TextAreaResizer();
             $("input[type='text']").addClass("inputCss");
             $("#qys").find("td").show();
             $(".ff").find("tr").addClass("trCss");
             $("#srjc").click(
                 function () {
                     $(".srjc").toggleClass("trCss2", "trCss");
                 }
            );
             $("#zkjf").click(
                 function () {
                     $(".zkjf").toggleClass("trCss2", "trCss");
                 }
            );
             $("#wjcjjwtbss").click(
                    function () {
                        $(".wjcjjwtbss").toggleClass("trCss2", "trCss");
                    }
            );
             $("#zfww").click(
                 function () {
                     $(".zfww").toggleClass("trCss2", "trCss");
                 }
            );

             $("#qt").click(
                 function () {
                     $(".qt").toggleClass("trCss2", "trCss");
                 }
            );

             if ($("#types").val() == "1") {

                 $("#qys").find("table").removeClass("trCss");
             }


             $("input[type='text']").addClass("number");
             $("#MtxtD_kdate").removeClass("number").addClass("required");
             $("#MtxtD_jdate").removeClass("number").addClass("required");
             $("#MtxtD_jckdate").removeClass("number");
             $("#MtxtD_jcjdate").removeClass("number");

             $('#form1').validate({}); //验证

         });
         function locking() {
             window.parent.Lock_Check();
         }
         function edit() {
             var jdate = $("#MtxtD_jdate").val();
             var kdate = $("#MtxtD_kdate").val();
             if (jdate != "" && jdate != null && kdate != "" && kdate != null) {
                 $("#MtxtD_zday").val(DateDiff(kdate, jdate));
             }

         }
         function DateDiff(sDate1, sDate2) {    //sDate1和sDate2是2006-12-18格式  
             var aDate, oDate1, oDate2, iDays
             aDate = sDate1.split("-")
             oDate1 = new Date(aDate[1] + '-' + aDate[2] + '-' + aDate[0])    //转换为12-18-2006格式  
             aDate = sDate2.split("-")
             oDate2 = new Date(aDate[1] + '-' + aDate[2] + '-' + aDate[0])
             iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24) + 1    //把相差的毫秒数转换为天数
             return iDays
         }
         function edits() {
             var jdate = $("#MtxtD_jcjdate").val();
             var kdate = $("#MtxtD_jckdate").val();
             if (jdate != "" && kdate != "") {
                 // alert(DateDiff(kdate, jdate));
                 $("#MtxtD_QY_ZFDY_XJCDYTS").val(DateDiff(kdate, jdate));
             }
         }
         function jcdach(ids) {
             var jdate = $("#MtxtD_jdate").val();
             var kdate = $("#MtxtD_kdate").val();
             if (jdate == "" || kdate == "") {
                 alert("请选择下基层开始与结束时间");
             }
             else {
                 WdatePicker({ el: ids, minDate: kdate, maxDate: jdate });
             }
         }
     </script>
     <style>
            a
            {
                text-decoration:none;
                padding-right:5px;
                cursor:pointer;
                font:  14px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
                color: #0161a1; 
                
                }
                a:hover 
                {
                    color:Red;
                    
                    }
                      .style2
                      {
                          /*border-right: 1px solid #C1DAD7;*/border: 1px solid #C1DAD7;
                          background: #F9F0F0;
                          font-size: 12px;
                          text-align: center;
                          vertical-align: middle;
                          color: #0161a1;
                          text-align: center;
                          font-style: normal;
                          font-variant: normal;
                          font-weight: normal;
                          line-height: normal;
                          font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
                          height: 25px;
                      }
                      .style3
                      {
                          /*border-right: 1px solid #C1DAD7;*/border: 1px solid #C1DAD7;
                          background: #fff;
                          font-size: 12px;
                          text-align: left;
                          vertical-align: middle;
                          color: #0161a1;
                          text-align: left;
                          background: #F9F0F0;
                          font-style: normal;
                          font-variant: normal;
                          font-weight: normal;
                          line-height: normal;
                          font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
                          height: 25px;
                      }
          </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
                <td style="background-color: #73A2d6; color: #fff; padding-left: 4px; padding-top: 2px;
                    font-weight: bold; font-size: 14px;" height="27" valign="middle">
                  进企业活动情况反馈表：
                </td>
                                <td style="background-color: #73A2d6; color: #fff; padding-left: 4px; padding-top: 2px;
                    font-weight: bold; font-size: 14px;" height="27" valign="middle"  align="right">
                <%--  <a onclick="window.parent.Lock_Check('3');" style=" color:#fff"> 关闭</a>--%>
                      <input type="text" runat="server" id="MtxtD_QYID" style=" display:none" />
    <input type="text" runat="server" id="MtxtD_QYHDID" style=" display:none" />
    <input type="text" runat="server" id="MtxtD_QYLGID" style=" display:none" />
    <input type="text" runat ="server"  id="types" style=" display:none" />
         <input type="text" runat="server" id="MtxtD_QY_JJWTQK_XYJJWTHLJS" style="display: none"/>
      <input type="text" runat="server" id="MtxtD_QY_JJWTQK_YJJJS" style="display: none" />
        <input type="text" runat="server" id="MtxtD_QY_XM" style="display: none" />
      <input type="text" runat="server" id="MtxtD_year" style="display: none" />
      <input type="text" runat="server" id="MtxtD_month" style="display: none" />
      <input type="text" runat="server" id="MtxtD_day" style="display: none" />

                </td>
</tr>

</table>

        <table class="table" >
         
    <tr id ="jqy" jqy="true" group="hddd" >
<td  class="td" style= "width:100%">

<table   id="qys" style=" width:100%">
                        <tr>
                            <td style="color: #0161a1; font-size: 16px; text-align: center; font-weight: bold; "  >
                             <br />
                               领导干部下基层“三进三帮”活动情况
                                <br />
                                <br />
                            </td>
                        </tr>
                        <tr group="hdxs" id="xsr" >
                        <td style="vertical-align:top; width:100%"   class="td"   >
                            <table style=" vertical-align:top;  margin-left:15px; width:100%" >
                               <tr>
                            <td style=" font-size:14px;  padding-left:250px;" >
                           
                              请选择本次下基层时间:
                               
                               <br />
                               <br />
                                </td>
                            </tr>
                              <tr>
                            <td style=" font-size:14px;  padding-left:280px;" >
                              开始时间:
                              <input type="text" id="MtxtD_kdate" onblur="edit()" runat="server" style=" width:100px;" />
                              <img style="margin-bottom: 0px;" src="../Images/calendar.gif" onclick="WdatePicker({el:'MtxtD_kdate'})" />
                               <br />
                               <br />
                                </td>
                            </tr>
                            <tr>
                            <td style=" font-size:14px;  padding-left:280px;" >
                              结束时间:
                              <input type="text" id="MtxtD_jdate" onblur="edit()" runat="server" style=" width:100px;" />
                              <img style="margin-bottom: 0px;" src="../Images/calendar.gif" onclick="WdatePicker({el:'MtxtD_jdate'});" />
                               <br />
                               <br />
                              
                                </td>

                            </tr>
                             <tr>
                            <td style=" font-size:14px;  padding-left:280px;" >
                           
                              活动天数:
                               <input type="text" runat="server" id="MtxtD_zday"  readonly="readonly"/>
                               
                               <br />
                               <br />
                                </td>
                            </tr>
                          <tr>
                            <td style=" font-size:14px;  padding-left:250px;" >
                           
                              请选择活动形式:
                               
                               <br />
                               <br />
                                </td>
                            </tr>
                            <tr >
                                <td style=" font-size:14px; font-weight:bold; padding-left:250px;" >
                           
                               
                                 深入基层调研 
                                </td>
                                
                            </tr>
                            <tr>
                            <td class="srjc" >
                                <table  style="  margin-left:280px; margin-right:30px; width:50%">
                                              <tr >
               <td class="tdC" rowspan="4" align="center" style=" display:none; width:1px;" >  </td>
               <td  class="tdC"  rowspan='2' >下基层调研天数</td>
                <td class="tdC" style=" width:250px;">
                         开始时间
                     <input type="text" id="MtxtD_jckdate" onchange="edits();" runat="server" style=" width:100px;" />
                              <img style="margin-bottom: 0px;" src="../Images/calendar.gif" onclick="jcdach('MtxtD_jckdate')" />
                                                    </td>
               <td  class="td" rowspan="2"><input type="text" id="MtxtD_QY_ZFDY_XJCDYTS" runat="server" data="null" readonly="readonly" />天</td>
            </tr>
                          <tr>
                                                <td class="tdC">
                                                结束时间
                                                 <input type="text" id="MtxtD_jcjdate" onchange="edits();" runat="server" style=" width:100px;" />
                              <img style="margin-bottom: 0px;" src="../Images/calendar.gif" onclick="jcdach('MtxtD_jcjdate')"/>
                                                </td>
                                                </tr>
            <tr    >
               <td  class="tdC"  rowspan='1' >撰写民情日记篇数</td>
               <td  class="td" rowspan="1"><input type="text" id="MtxtD_QY_ZFDY_ZXMQRJPS" runat="server" data="null" /></td>
               <td class="td">
             撰写调研报告篇数
             <input type="text" id="MtxtD_QY_ZFDY_dybg" runat="server" data="null" />
               </td>
            </tr>

            <tr   >
              <%-- <td  class="tdC" colspan='1' rowspan='2' style=" width:100px;" >其中</td>--%>
               <td  class="tdC" rowspan='1' colspan="2" style=" width:100px;" >进企业走访职工天数</td>
               <td  class="td" rowspan="1"><input type="text" id="MtxtD_QY_ZFDY_ZCRHTS" runat="server" data="null" /></td>              
            </tr>
<%--            <tr>
              <td  class="tdC"  >驻点住户天数</td>
              <td  class="td" rowspan="1"><input type="text" id="MtxtD_QY_ZFDY_ZDZHTS" runat="server" data="null" /></td>
            </tr>--%>
                                </table>
                                
                                </td>
                            </tr>

                     <tr>
                                <td style=" font-size:14px; font-weight:bold; padding-left:250px;  padding-top:10px;">
                                开展大接访  
                                </td>
                            </tr>
                                    <tr>
                                        <td class="zkjf">
                                            <table  style="  margin-left:280px; margin-right:30px; width:50%">
                                       
            <%--信访接待--%>
            <tr    >
               <td class="tdC" align="center" rowspan="5" style=" display:none; width:1px;" ></td>
               <td  class="tdC" colspan='2' rowspan='1' >公开接访天数</td>
               <td  class="td" rowspan="1"><input type="text" id="MtxtD_QY_XFJDQK_GKJFTS" runat="server" data="null" /></td>
            </tr>
            <tr >
               <td  class="tdC" colspan='2' rowspan='1' >接待信访件数</td>
               <td  class="td" rowspan="1"><input type="text" id="MtxtD_QY_XFJDQK_JDXFAJ" runat="server" data="null" /></td>
            </tr>
            <tr    >
               <td  class="tdC" colspan='2' rowspan='1' >已结案信访件数</td>
               <td  class="td" rowspan="1" style=" width:100px;" ><input type="text" id="MtxtD_QY_XFJDQK_yjaxf" runat="server" data="null" /></td>
            </tr>
            <tr   >
               <td  class="tdC" colspan='1' rowspan='2' style=" width:100px;" >其中</td>
               <td  class="tdC" rowspan='1' style=" width:100px;" >重点信访包案件数</td>
               <td  class="td"><input type="text" id="MtxtD_QY_XFJDQK_ZDXFBAJS" runat="server" data="null" /></td>              
            </tr>
            <tr   >
              <td  class="style2" rowspan='1' >重点信访包案完成件数</td>
              <td  class="style3"><input type="text" id="MtxtD_QY_XFJDQK_ZDXFBAWCJS" runat="server" data="null" /></td>
            </tr>
                                                
                                            </table>
                                        
                                        </td>
                                    </tr>

  <tr>
                                <td style=" font-size:14px; font-weight:bold; padding-left:250px; padding-top:10px;">
                               走访慰问困难群众
                                </td>
                            </tr>
                            <tr>
                                <td class="zfww">
                                      <table  style="  margin-left:280px; margin-right:30px; width:50%">
                                    <tr >
               <td class="tdC" rowspan="4" style=" display:none; width:1px;" align="center" ></td>
               <td  class="tdC" colspan='2' rowspan='1' >已走访困难群众户数</td>
               <td  class="td" rowspan="1"><input type="text" id="MtxtD_QY_WWKNQZQK_KNQZZHS" runat="server" data="null"  /></td>
            </tr>
           <%-- <tr >
             <td  class="tdC" colspan="2">
                 挂钩结对户数
            </td>
            <td  class="td"> 
            <input type="text" id="MtxtD_QY_WWKNQZQK_GGJDHS" runat="server" data="null"/>
            </td>
            </tr>--%>
            <tr   >
              
               <td  class="tdC" colspan="2" rowspan='1' style=" width:252px;" >已走访挂钩结对户数</td>
               <td  class="td"  rowspan="1"><input type="text" id="MtxtD_QY_WWKNQZQK_YZFHS" runat="server" data="null" /></td>              
            </tr>
            <tr    >
              <td  class="tdC" colspan="2" rowspan='1' >已帮扶挂钩结对户数</td>
              <td  class="td" rowspan="1"><input type="text" id="MtxtD_QY_WWKNQZQK_YBFHS" runat="server" data="null" /></td>
            </tr>       
            <tr >
            <td  class="tdC" colspan="2">
            慰问捐助折合累计金额（元）</td>
            <td class="td"  colspan="1">
            <input type="text" id="MtxtD_QY_WWKNQZQK_WWJZZHLJJE" runat ="server" data="null" />
            </td>
            </tr>
                                      </table>
                                
                                </td>
                            </tr>
                                     
                            
                            <tr>
                                <td style=" font-size:14px; font-weight:bold; padding-left:250px; padding-top:10px;">
                                其他活动形式
                                </td>
                            </tr>
                            <tr>
                                <td class="qt">
                                    <table  style="  margin-left:280px; margin-right:30px; width:50%">
            <tr >
             
             <td class="tdC" rowspan="2" style=" width:100px;">
            召开座谈会<br />情况
             </td>
            <td class="tdC" style=" width:100px;">
             次数
            </td>
            <td class="td">
            <input type="text" id="MtxtD_QY_ZKZTH_ZKZTHCS"  runat="server" data="null"/>
            </td>
            </tr>
            <tr>
             <td class="tdC">
            参加人次
            </td>
            <td class="td">
            <input type="text" id="MtxtD_QY_ZKZTH_Z_CJRC" runat="server" data="null" />
            </td>
            </tr>
            <tr >
            <td class="tdC" rowspan="2">
            形势政策宣讲<br />情况
            </td>
            <td class="tdC">
             次数
            </td>
            <td class="td">
            <input type="text" id="MtxtD_QY_ZKZTH_XSZCXJCS" runat="server" data="null"/>
            </td>
            </tr>
            <tr >
             <td class="tdC">
            参加人次
            </td>
            <td class="td">
            <input type="text" id="MtxtD_QY_ZKZTH_X_CJRC" runat="server" data="null"/>
            </td>
            </tr>
                     <tr    >
              <td  class="tdC" colspan='2' rowspan='1' >参加劳动(次)</td>
              <td  class="td" rowspan="1"><input type="text" id="MtxtD_QY_ZFDY_CJLDTS" runat="server" data="null" /></td>
            </tr>
                                                            <tr >
                                                    <td class="style12" rowspan='1' colspan="2">
                                                        为基层单位提供扶持资金金额（元）
                                                    </td>
                                                    <td class="td" rowspan="1">
                                                        <input type="text" id="MtxtD_QY_JJWTQK_WJCDWFCZJLJJE" runat="server" data="null" />
                                                    </td>
                                                </tr>  
             
                                    </table>
                                </td>
                            </tr>
                <tr runat="server" id="tr1">

    <td  style="text-align:center">

     <%--   --%>
      
         <asp:Button ID="Button3" runat="server" style=" width:40px;" Text="提交" CssClass="buttonCss" onclick="Button3_Click" 
           OnClientClick="edit()"   />
              &nbsp;&nbsp;&nbsp;&nbsp;
      
    </td>
    
    </tr>
            </table>
    		</td>
            </tr>

           
            </table>
             </td>
            </tr>
           
   
 </table>
    </div>
    </form>
</body>
</html>
